import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission

// 引入uview-ui
import uView from 'uview-ui'
Vue.use(uView)

import {
  handleTree,
  parseTime
} from "@/utils/ruoyi";

Vue.use(plugins)
//状态栏高度
Vue.prototype.statusBarHeight = uni.getSystemInfoSync().statusBarHeight

//树形结构
Vue.prototype.handleTree = handleTree;  

//图片资源
Vue.prototype.ImgUrl = 'http://192.168.2.4:8080/'
Vue.config.productionTip = false
Vue.prototype.$store = store

//过车图片域名
// Vue.prototype.getPhotoUrl = 'http://222.242.172.145:8212/flybird/'
//APP静态文件地址
// Vue.prototype.staticImgUrl = 'http://218.95.37.154:19700/flybird/flybird_caruser/images/'

App.mpType = 'app'

const app = new Vue({
	store,
  ...App
})

app.$mount()
 